﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication2
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            this.Label5.Text = System.DateTime.Now.ToShortDateString();
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            ViewState["TempValue"] = this.TextBox1.Text;
            this.Label3.Text = $"请确认您填写的信息：";
            this.Label2.Text = $"姓名：{this.TextBox1.Text}：";
            this.Label3.Text = $"年龄：{this.TextBox2.Text}：";
            this.Label4.Text = $"爱好：{this.TextBox3.Text}：";
        }
    }
}